package com.example.blogsystem.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public enum ResultCodeEnum {
    SUCCESS(200),
    No_Login(-1),
    FAIL(-2),
    PARAM_INVILD(-3),
    NO_EXIST_USERNAME(-4),
    PASSWORD_FAIL(-5);
    @Getter
    private int code;//状态码
}
